package com.zp.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.boot.context.properties.EnableConfigurationProperties;

/**
 * @author zp
 * @description
 * @created 2021/11/24 12:38
 */

@EnableConfigurationProperties(value = {MyCloudConfig.class})
@ConfigurationProperties(prefix = "zp.register")
public class MyCloudConfig {
    /**
     * 服务名称
     */
    private String serviceName;

    /**
     * 服务url
     */
    private String serviceRegisterUrl;

    public String getServiceName() {
        return serviceName;
    }

    public void setServiceName(String serviceName) {
        this.serviceName = serviceName;
    }

    public String getServiceRegisterUrl() {
        return serviceRegisterUrl;
    }

    public void setServiceRegisterUrl(String serviceRegisterUrl) {
        this.serviceRegisterUrl = serviceRegisterUrl;
    }
}
